home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / ym.xml < prev    next >
Text File  |  2002-09-27  |  2KB  |  54 lines

  1. <search function="ym">
  2.   <name>Yahoo Movie</name>
  3.   <description>Search for local movie listings. The zip code is stored in a cookie so you don't have to enter it again.
  4.   <div class="helpboxDescLabels">Examples:</div> 
  5.   <table class="helpboxDescTable">
  6.     <tr>
  7.       <td>ym 74133 monsters</td>
  8.     </tr>
  9.     <tr>
  10.       <td>ym life as a house</td>
  11.     </tr>
  12.   </table>
  13.   </description>
  14.   <category>Entertainment</category>
  15.   <link>http://movies.yahoo.com/</link>
  16.   <contributor>Glenn Carr</contributor>
  17.   <email>glenn_at_glenncarr_dot_com</email>
  18.   <form name="ymf"
  19.         action="http://movies.yahoo.com/showtimes/showtimes.html" 
  20.         method="get">
  21.     <input type="hidden" name="z" /> <comment>(e.g., 94089 or Sunnyvale, CA - required)</comment>
  22.     <input type="hidden" name="m" /> <comment>Movie Name</comment>
  23.     <input type="hidden" name="t" /> <comment>Theater Name</comment>
  24.     <input type="hidden" name="a" /> <comment>Street Name</comment>
  25.     <input type="hidden" name="s" value="tm" />
  26.     <input type="hidden" name="r" value="adv" />
  27.     <input type="hidden" name="p" value="0" />
  28.   </form>
  29.   <script><![CDATA[
  30.     function ym(q)
  31.     {
  32.       if (q == "")
  33.         openSearchWindow("http://movies.yahoo.com/");
  34.       else
  35.       {
  36.         if (result = q.match(/^(\d{5})\s*(.*)/))
  37.         {
  38.           document.ymf.z.value=result[1];
  39.           document.ymf.m.value=result[2];
  40.         }
  41.         else
  42.           document.ymf.m.value=q;
  43.         submitForm(ymf);
  44.       }
  45.     }
  46.   ]]></script>
  47.  
  48.   <copyright>
  49.     Copyright (c) 2002 David Bau
  50.     Distributed under the terms of the
  51.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  52.   </copyright>
  53. </search>
  54.